package com.hyt.it.ogt.ks.model.vo;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author 刘恒活
 */
@Data
@Accessors(chain = true)
@ToString
@ApiModel(value = "试卷小题题目信息")
public class PaperItemVO implements Serializable{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "小题序号")
    private Integer itemSort;

    @ApiModelProperty(value = "小题ID")
    private String itemId;

    @ApiModelProperty(value = "是否已作案，0未作答，1已作答")
    private Integer isAnswer;

    @ApiModelProperty(value = "是否已标记，1未标记，2.已标记")
    private Integer isMark;

    @ApiModelProperty(value = "查看答案和解析状态，0：未查看，1：已查看")
    private Integer viewAnswerDescription;
    
    @ApiModelProperty(value = "小题题干内容")
    private String itemContent;
    
    @ApiModelProperty(value = "小题题型")
    private String itemType;
    
    @ApiModelProperty(value = "题目选项")
    private List<TopicOptionVO> optionsDataList;
    
    @ApiModelProperty(value = "考生的作答内容(答案)")
    private List<AnswerVO> userAnswer;

    @ApiModelProperty(value = "复合题子小题作答答案")
    private List<PaperItemVO> childAnswer;

    @ApiModelProperty(value = "小题个数，只有当是复合题时")
    private Integer childItemSize;

    @ApiModelProperty(value = "属性数据列表")
    private List<ItemAttrDTO> attrsDataList;

}
